disableDataTracking

fun disableDataTracking(context: Context, appId: String? = null)
fun disableDataTracking(context: Context, appId: String? = null)
fun disableDataTracking(context: Context, appId: String? = null)

Optionally opt-out of data tracking. When data tracking is opted out no custom event or user attribute is tracked on MoEngage Platform.

Since

12.0.00

Parameters

context

instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard. If not provided SDK will use the default instance